// This is the header file of the key counting observer for ObserverPatternV2 12/8/2011

#pragma once

#include "Observer.h"
#include "Notifier.h"

class CountKeys :
	public Observer
{
private:
	int count;
	string msg;
public:
	CountKeys(void);
	CountKeys(string);
	~CountKeys(void);
	void notify(event e, string data);
	bool subscribe(event e);
	bool unsubscribe(event e);
private:
//	string wordToFind;
//	int wordsFoundCount;
};
